/*
 * icon_ 用于添加自定义按钮 , 图标配置文件对应 src/layouts/BasicLayout/iconMap.js
 * icon_ 可传参数为 : string | null
 * */

export default [
  {
    name: '工作台',
    path: '/',
    redirect: '/workbench'
  },
  { path: '/*', component: '@/pages/404' },

  //  商品中心
  {
    name: '工作台',
    path: '/workbench',
    component: './Workbench/Workbench'
  },
  {
    name: '商品管理',
    path: '/productManage',
    component: './ProductManage'
  },
  {
    name: '商品',
    path: '/product',
    component: './ProductManage/Product'
  },
  {
    name: '增值服务管理',
    path: '/addServeManage',
    component: './AddServeManage/AddServeManage'
  },
  {
    name: '商品分类',
    path: '/productCategory',
    component: './ProductCategory/ProductCategory'
  },

  // 租赁订单
  {
    name: '常规订单',
    path: '/regularOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '成交订单',
    path: '/dealingOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '逾期订单',
    path: '/overdueOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '完结订单',
    path: '/finishedOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '售后订单',
    path: '/afterSaleOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '到期账单',
    path: '/expiredBills',
    component: './OrderList/OrderList'
  },

  // 电商订单
  {
    name: '常规订单',
    path: '/s_regularOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '成交订单',
    path: '/s_dealingOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '逾期订单',
    path: '/s_overdueOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '完结订单',
    path: '/s_finishedOrder',
    component: './OrderList/OrderList'
  },
  {
    name: '售后订单',
    path: '/s_afterSaleOrder',
    component: './OrderList/OrderList'
  },

  // ---
  {
    name: '收支账单',
    path: '/billList',
    component: './BillList/BillList'
  },
  {
    name: '提现管理',
    path: '/cashWithdrawal',
    component: './CashWithdrawal/CashWithdrawal'
  },
  {
    name: '申请提现',
    path: '/applyWithdrawal',
    component: './ApplyWithdrawal/ApplyWithdrawal'
  },
  {
    name: '账单明细',
    path: '/billingDetails/:order_id',
    component: './BillingDetails/BillingDetails'
  },
  {
    name: '数据中心',
    path: '/dataCenter',
    component: './DataCenter/DataCenter'
  },
  {
    name: '角色列表',
    path: '/roleList',
    component: './RoleList/RoleList'
  },
  {
    name: '角色管理',
    path: '/roleAddAndEdit',
    component: './RoleAddAndEdit/RoleAddAndEdit'
  },
  {
    name: '平台设置',
    path: '/settings',
    component: './Settings/Settings'
  },
  {
    name: '账号管理',
    path: '/usersList',
    component: './UsersList/UsersList'
  },
  {
    name: '客服配置',
    path: '/baseSet',
    component: './BaseSet/BaseSet'
  },
  {
    name: '配送管理',
    path: '/deliverManage',
    component: './Deliver/DeliverManage'
  },
  {
    name: '自提点地址管理',
    path: '/pickupPoint',
    component: './Deliver/PickupPoint'
  },
  {
    name: 'H5推广设置',
    path: '/h5Promotion',
    component: './H5Promotion/H5Promotion'
  },
  {
    name: '子店铺管理',
    path: '/subMerchant',
    component: './SubMerchant/SubMerchant'
  },
  {
    name: '子店铺管理详情',
    path: '/subMerchantDetails',
    component: './SubMerchantDetails/SubMerchantDetails'
  },
  {
    name: '店铺装修',
    path: '/shopDecoration',
    component: './ShopDecoration/ShopDecoration'
  },

  // ---店铺管理
  {
    name: '店铺信息',
    path: '/stores',
    component: './Merchant/MerchantInfo'
  },
  {
    name: '商户管理',
    path: '/merchant',
    component: './MerchantManage/MerchantManage'
  },
  {
    name: '商户详情',
    path: '/merchantDetail',
    component: './MerchantManage/MerchantDetail'
  },

  {
    name: '订单详情',
    path: '/orderInfo/:id',
    component: './OrderInfo/OrderInfo'
  },

  {
    name: '风控充值',
    path: '/riskRecharge',
    component: './RiskRecharge/RiskRecharge'
  },
  {
    name: '充值审核',
    path: '/rechargeAudit',
    component: './RechargeAudit/RechargeAudit'
  },

  // 优惠券管理
  {
    name: '优惠券',
    path: '/coupon',
    component: './Coupon/CouponManage'
  },
  {
    name: '优惠券详情',
    path: '/couponDetail',
    component: './Coupon/CouponDetail'
  },

  // 活动专题
  {
    name: '活动专题页面编辑器',
    path: '/activityEditor',
    component: './ActivityEditor/ActivityEditor'
  },
  {
    name: '测试页面',
    path: '/testPage',
    component: './TestPage/TestPage'
  },
  {
    name: '页面装修',
    path: '/pageDecoration',
    component: './PageDecoration/PageDecoration'
  }
]
